package com.onlyxiahui.common.message.push;

import com.onlyxiahui.common.message.AbstractMessage;

/**
 * 
 * Date 2018-12-25 13:35:40<br>
 * Description
 * 
 * @author XiaHui<br>
 * @param <B>
 * @since 1.0.0
 */
public abstract class AbstractPushMessage<B> extends AbstractMessage<Object> {

	private static final long serialVersionUID = 1L;

	public AbstractPushMessage() {
	}

	/**
	 * 
	 * Date 2018-12-25 13:35:56<br>
	 * Description 设置消息主体
	 * 
	 * @param body
	 * @return B
	 * @since 1.0.0
	 */
	public abstract B setBody(B body);

	/**
	 * 
	 * Date 2018-12-25 13:36:19<br>
	 * Description 获取消息主体
	 * 
	 * @return B
	 * @since 1.0.0
	 */
	public abstract B getBody();
}
